﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using G15_Agent.Models.Travel;
using System.Web.Mvc;
using System.ComponentModel;

namespace G15_Agent.Models.ViewModels
{
    public class TourBookingViewModel
    {
        public string tourID { set; get; }
        public string serviceID { set; get; }
        public TourDuLichChiTiet tourInfo { set; get; }
        [DisplayName("Số người lớn")]
        public int soNguoiLon { set; get; }
        [DisplayName("Số trẻ em")]
        public int soTreEm { set; get; }
        public List<KhachHang> dsHanhKhach { set; get; }        

        public IEnumerable<SelectListItem> optionSoLuong
        {
            get
            {
                int[] dsSL = new int[] { 0, 1, 2, 3, 4, 5 };
                return new SelectList(dsSL);
            }
        }
    }
}